package com.ruoyi.system.domain.as;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户大棚关联对象 as_usergreenhouse
 *
 * @author ruoyi
 * @date 2021-08-10
 */
public class AsUsergreenhouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long greenhouseId;

    public Long[] getGreenhouseIds() {
        return greenhouseIds;
    }

    public void setGreenhouseIds(Long[] greenhouseIds) {
        this.greenhouseIds = greenhouseIds;
    }

    private Long greenhouseIds[];

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setGreenhouseId(Long greenhouseId)
    {
        this.greenhouseId = greenhouseId;
    }

    public Long getGreenhouseId()
    {
        return greenhouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("greenhouseId", getGreenhouseId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
